package com.anolesoft.yr.mbus.prod.model.service.impl;

import com.anolesoft.yr.mbus.prod.model.mapper.ProdTypeMapper;
import com.anolesoft.yr.mbus.prod.model.service.ProdTypeService;
import com.anolesoft.yr.mbus.prod.model.vo.ProdTypeQueryVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProdTypeServiceImpl implements ProdTypeService {

    @Autowired
    ProdTypeMapper prodTypeMapper;

    //查询产品类型名称
    @Override
    public List<ProdTypeQueryVO> queryProdTypeName() throws Exception {
        List<ProdTypeQueryVO> prodTypeQueryVOList = prodTypeMapper.queryProdTypeName();
        return prodTypeQueryVOList;
    }

}
